<?php 
namespace app\model;
use think\Model;

class Recharge extends Model
{	
	public static function getCommonIsCn($key){
		$list = ['否','是'];
		return $list[$key];
	}

	public static function getCommonIsList(){
		$list = ['否','是'];
		return $list;
	}

    public static function getStatusCn($key){
        $list = ['待支付','已支付',-1=>'已作废'];
        return $list[$key];
    }

    public static function getStatusList(){
        $list = ['待支付','已支付',-1=>'已作废'];
        return $list;
    }
    public static function getStatusColor(){
        $list = ['default','success',-1=>'danger'];
        return $list;
    }
}


 ?>